package nav

/*
#include<stdint.h>
#include<stdbool.h>
extern float nav_dtMathAtan2f(float y,float x);
extern float nav_dtMathCeilf(float x);
extern float nav_dtMathCosf(float x);
extern float nav_dtMathFabsf(float x);
extern float nav_dtMathFloorf(float x);
extern bool nav_dtMathIsfinite(float x);
extern float nav_dtMathSinf(float x);
extern float nav_dtMathSqrtf(float x);

*/
import "C"
import "unsafe"
import "gitee.com/hasika/cgo"

var _ unsafe.Pointer
var _ cgo.NotUsed

/*
float dtMathAtan2f(float y, float x)
*/
func DtMathAtan2f(y float32, x float32) float32 {
	var wrap_arg_y C.float
	var wrap_arg_x C.float
	wrap_arg_y = (C.float)(y)
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathAtan2f(wrap_arg_y, wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}

/*
float dtMathCeilf(float x)
*/
func DtMathCeilf(x float32) float32 {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathCeilf(wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}

/*
float dtMathCosf(float x)
*/
func DtMathCosf(x float32) float32 {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathCosf(wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}

/*
float dtMathFabsf(float x)
*/
func DtMathFabsf(x float32) float32 {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathFabsf(wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}

/*
float dtMathFloorf(float x)
*/
func DtMathFloorf(x float32) float32 {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathFloorf(wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}

/*
bool dtMathIsfinite(float x)
*/
func DtMathIsfinite(x float32) bool {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathIsfinite(wrap_arg_x)
	go_out := bool(wrap_out)
	return go_out
}

/*
float dtMathSinf(float x)
*/
func DtMathSinf(x float32) float32 {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathSinf(wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}

/*
float dtMathSqrtf(float x)
*/
func DtMathSqrtf(x float32) float32 {
	var wrap_arg_x C.float
	wrap_arg_x = (C.float)(x)
	wrap_out := C.nav_dtMathSqrtf(wrap_arg_x)
	go_out := float32(wrap_out)
	return go_out
}
